<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Player>" %>
<%@ Import Namespace="Data.Domain"%>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Edit
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Edit User</h2>
    <% using (Html.BeginForm("UpdatePlayer", "Home", new {id = Model.Id}))
    {%>
        <%= Html.TextBox("Name")%><br />
        
        <input type="submit" value="Update Player" />
    <%} %>
</asp:Content>